package(default_visibility = ["//visibility:public"])

load("@build_bazel_rules_nodejs//:defs.bzl", "nodejs_binary")
load("//tools:defaults.bzl", "ts_library")

nodejs_binary(
    name = "package-docs-content",
    data = [
        ":sources",
    ],
    entry_point = "angular_material/tools/package-docs-content/package-docs-content.js",
)

ts_library(
    name = "sources",
    srcs = glob(["**/*.ts"]),
    tsconfig = ":tsconfig.json",
    deps = ["@npm//@types/node"],
)
